﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Auth/Auth.Master" AutoEventWireup="true"
    CodeBehind="SEO.aspx.cs" Inherits="CoastalClimbing.Auth.SEO" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
        function Show() {
            document.getElementById('divAdd').style.visibility = "visible";
            document.getElementById('<%=txtDescription.ClientID %>').focus();
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <span class="thirtyWhite">Search Engine Optimization</span>
    <asp:GridView ID="grvSEO" runat="server" AutoGenerateColumns="true" GridLines="Both"
        CellPadding="4" ForeColor="#333333">
        <RowStyle BackColor="#E3EAEB" />
        <EditRowStyle BackColor="#7C6F57" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#ffd80b" Font-Bold="True" ForeColor="333333" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    <br />
    <asp:HyperLink ID="hyperAdd" runat="server" NavigateUrl='javascript:Show();' Text="Add Meta"
        ForeColor="White" />
    <br />
    <div id="divAdd" style="visibility: hidden;">
        <asp:Table ID="tblAdd" runat="server">
            <asp:TableHeaderRow>
                <asp:TableHeaderCell>
                    Page
                </asp:TableHeaderCell>
                <asp:TableHeaderCell>
                    Meta Type
                </asp:TableHeaderCell>
                <asp:TableHeaderCell>
                    Description
                </asp:TableHeaderCell>
            </asp:TableHeaderRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:DropDownList ID="ddlPage" runat="server" />
                </asp:TableCell>
                <asp:TableCell>
                    <asp:DropDownList ID="ddlMetaType" runat="server" />
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
                </asp:TableCell>
                <asp:TableCell>
                    <asp:Button ID="btnAdd" runat="server" Text="Add" OnClick="btnAdd_Click" />
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </div>
</asp:Content>
